package com.myx.zookeeper.zkclient.znode;

import java.io.Serializable;


/**
 * 描述: 序列化对象
 * @author: myx
 * @date: 2018/11/23
 * Copyright © 2018-hotpot. All rights reserved.
 */
public class User implements Serializable{
   private String name;
   private int age;

   public String getName() {
      return name;
   }

   public void setName(String name) {
      this.name = name;
   }

   public int getAge() {
      return age;
   }

   public void setAge(int age) {
      this.age = age;
   }

   @Override
   public String toString() {
      return "User{" +
              "name='" + name + '\'' +
              ", age=" + age +
              '}';
   }
}
